import { history } from 'umi';
import React from 'react';
import { Empty, Button } from 'react-vant';
import './partner-empty.less';

const goDiscover = () => {
  history.push('/');
}

export default function PartnerEmptyPage() {
  return (
    <div className='partner-empty'>
      <Empty description='暂未找到相关搭档信息'>
        <Button className='back-home' style={{ width: 160 }} round onClick={goDiscover}>
          返回首页
        </Button>
      </Empty>
    </div>
  );
}
